package com.demo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 医嘱药物表
 * @author zm
 * @since 2021-03-26
 */
@Data
@TableName("pd_doctor_medicine")
@ApiModel(value="DoctorMedicine对象", description="医嘱药物表")
public class DoctorMedicine implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "医嘱ID")
    @TableField("doctor_id")
    private Integer doctorId;

    @ApiModelProperty(value = "药物名称")
    @TableField("drug_name")
    private String drugName;

    @ApiModelProperty(value = "剂量")
    @TableField("dose")
    private String dose;

    @ApiModelProperty(value = "单位")
    @TableField("unit")
    private String unit;

    @ApiModelProperty(value = "频次")
    @TableField("frequency")
    private String frequency;

    @ApiModelProperty(value = "用法")
    @TableField("usage")
    private String usage;

    @ApiModelProperty(value = "1.正常  2.已停止")
    @TableField("status")
    private Integer status;

    @ApiModelProperty(value = "患者ID")
    @TableField("patient_id")
    private Integer patientId;




}
